import {
	request
} from './server.js'

const hosturl = "http://localhost:9090/"

export const addProperty =
	function(params) { //商品列表
		return request.post('/property', params)
			.then(data => {
				return data.data
			})
	}

export const property =
	function(params) { //失物列表
		return request.post('/property/app/page', params)
			.then(data => {
				return data.data
			})
	}

export const propertyDetail =
	function(params) { //商品详情
		return request.post('/property/app/detail?productId=' + params)
			.then(data => {
				return data.data
			})
	}
	
